#pragma once

#include <windows.h>

class CComHelper
{
public:
	CComHelper(void);
	~CComHelper(void);

public:
	HBITMAP CreaetBitmapFromAnyBuffer(const VOID * pimgdata, UINT size, unsigned short * pWidth, unsigned short * pHeight, int nBpps);
	HBITMAP CreaetBitmapFromFile(WCHAR * path, unsigned short * pWidth, unsigned short * pHeight, int nBpps);
	void DrawPngToHDC(WCHAR * path, HDC dc);

private:
	void * pImgFactory;
};
